// 字典类型接口
export interface DictType {
  dictId: number;
  dictName: string;
  dictType: string;
  status: '0' | '1';
  remark?: string;
  createTime?: string;
  updateTime?: string;
}

// 字典数据接口
export interface DictData {
  dictCode: number;
  dictSort: number;
  dictLabel: string;
  dictValue: string;
  dictType: string;
  cssClass?: string;
  listClass?: string;
  isDefault: 'Y' | 'N';
  status: '0' | '1';
  remark?: string;
  createTime?: string;
  updateTime?: string;
}

// 查询参数接口
export interface DictQueryParams {
  pageNum: number;
  pageSize: number;
  dictName?: string;
  dictType?: string;
  status?: string;
  dictLabel?: string;
}

// 表单接口
export interface DictTypeForm {
  dictId?: number;
  dictName: string;
  dictType: string;
  status: '0' | '1';
  remark?: string;
}

export interface DictDataForm {
  dictCode?: number;
  dictSort: number;
  dictLabel: string;
  dictValue: string;
  dictType: string;
  cssClass?: string;
  listClass?: string;
  isDefault: 'Y' | 'N';
  status: '0' | '1';
  remark?: string;
}